package chances.epg.entity.upgrade;

/**
 * 升级策略
 * 
 * @author libf
 *
 */
public class UpgradePolicy {
	public static final int APK_RULE_TYPE_IP = 1;
	public static final int APK_RULE_TYPE_USERID = 2;

	private Long id;
	private Long apkId;
	private String startValue;
	private String endValue;
	private String startTransform;
	private String endTransform;
	private int type = APK_RULE_TYPE_IP;
	
	private App app;
	
	public Long getId() {
		return id;
	}
	public void setId(Long id) {
		this.id = id;
	}
	public Long getApkId() {
		return apkId;
	}
	public void setApkId(Long apkId) {
		this.apkId = apkId;
	}
	public String getStartValue() {
		return startValue;
	}
	public void setStartValue(String startValue) {
		this.startValue = startValue;
	}
	public String getEndValue() {
		return endValue;
	}
	public void setEndValue(String endValue) {
		this.endValue = endValue;
	}
	public String getStartTransform() {
		return startTransform;
	}
	public void setStartTransform(String startTransform) {
		this.startTransform = startTransform;
	}
	public String getEndTransform() {
		return endTransform;
	}
	public void setEndTransform(String endTransform) {
		this.endTransform = endTransform;
	}
	public int getType() {
		return type;
	}
	public void setType(int type) {
		this.type = type;
	}
	public App getApp() {
		return app;
	}
	public void setApp(App app) {
		this.app = app;
	}
}
